package com.fuyao.cloud.asset.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 资产分类导出类
 *
 * @author lyhil
 * @date 2021/11/17
 */
@Data
@ColumnWidth(30)
@ApiModel(value = "资产分类导入模板类")
public class CtiImportVO {

	@ExcelProperty(value="资产分类")
	private String assetType;

	@ExcelProperty(value="核算类型")
	private String accountingMethod;

	@ExcelProperty(value="所属父类编码")
	private String parentCode;

	@NotBlank(message = "分类名称不能为空")
	@ExcelProperty(value="分类名称")
	private String name;

	@NotBlank(message = "分类编码不能为空")
	@ExcelProperty(value="分类编码")
	private String code;

}
